#coding:utf-8
'''
file = open("aaa.txt")
data = file.readline(50)
print(data)
'''
file = open("bbb.txt","w")
lines = '''
我是谁
我在那
我要干嘛'''
file.write(lines)
file.close()
data = open("bbb.txt","rt")
s = ""
while True:
    fragmnet = data.read(10)
    data.seek(0)
    print(fragmnet)
    print(fragmnet)
    if not fragmnet:
        break
    s += fragmnet
print(s)
